/* 播放列表页样式 */

/* 播放列表头部 */
.playlist-header {
    display: flex;
    padding: 32px;
    position: relative;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
}

.playlist-cover {
    width: 232px;
    height: 232px;
    box-shadow: 0 4px 60px rgba(0, 0, 0, 0.5);
    margin-right: 24px;
    position: relative;
}

#playlist-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.4));
}

.playlist-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.playlist-type {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.playlist-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.1;
}

.playlist-description {
    font-size: 16px;
    color: #b3b3b3;
    margin-bottom: 24px;
    max-width: 800px;
}

.playlist-meta {
    font-size: 14px;
    color: #b3b3b3;
}

.playlist-creator {
    display: flex;
    align-items: center;
}

.creator-thumbnail {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.creator-name {
    color: white;
    font-weight: 700;
}

.creator-name:hover {
    text-decoration: underline;
}

/* 播放列表操作按钮 */
.playlist-actions {
    padding: 24px 32px;
    display: flex;
    align-items: center;
}

.large-play-btn {
    font-size: 16px;
    padding: 14px 32px;
    border-radius: 32px;
    background-color: #1DB954;
    color: white;
    font-weight: 700;
    margin-right: 24px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.large-play-btn i {
    margin-right: 8px;
}

.large-play-btn:hover {
    transform: scale(1.05);
    background-color: #1ed760;
}

.playlist-actions .icon-button {
    width: 32px;
    height: 32px;
    font-size: 16px;
    color: #b3b3b3;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.playlist-actions .icon-button:hover {
    color: white;
}

/* 播放列表内容 */
.playlist-content {
    padding: 0 32px;
    margin-bottom: 32px;
}

.track-list-container {
    margin-bottom: 32px;
}

.track-list-header {
    display: grid;
    grid-template-columns: 48px 4fr 2fr 2fr 1fr;
    padding: 0 16px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #b3b3b3;
}

.track-list {
    margin-top: 16px;
}

.track-item {
    display: grid;
    grid-template-columns: 48px 4fr 2fr 2fr 1fr;
    padding: 8px 16px;
    border-radius: 4px;
    align-items: center;
    font-size: 14px;
    color: #b3b3b3;
}

.track-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.track-item:hover .track-number {
    display: none;
}

.track-item:hover .track-play-icon {
    display: flex;
}

.track-number {
    width: 24px;
    text-align: center;
}

.track-play-icon {
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.track-info {
    margin-right: 24px;
}

.track-name {
    color: white;
    margin-bottom: 4px;
}

.track-artist {
    font-size: 13px;
}

.track-album, .track-date-added {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 24px;
}

.track-duration {
    text-align: right;
}

.track-actions {
    display: none;
    margin-left: auto;
}

.track-item:hover .track-actions {
    display: flex;
}

.track-item:hover .track-duration {
    display: none;
}

.track-like-btn, .track-more-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b3b3b3;
    transition: color 0.2s;
}

.track-like-btn:hover, .track-more-btn:hover {
    color: white;
}

/* 关于播放列表部分 */
.about-playlist {
    padding: 24px 32px;
    margin-bottom: 48px;
}

.about-playlist h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.playlist-about-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 8px;
}

.playlist-description-full {
    font-size: 14px;
    line-height: 1.6;
    color: #b3b3b3;
    margin-bottom: 24px;
}

.playlist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

/* 相似播放列表 */
.similar-playlists {
    padding: 0 32px 48px;
}

.similar-playlists h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.playlist-card {
    transition: all 0.3s ease;
}

.playlist-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .track-list-header, .track-item {
        grid-template-columns: 48px 5fr 3fr 2fr;
    }
    
    .track-date-added {
        display: none;
    }
}

@media (max-width: 992px) {
    .track-list-header, .track-item {
        grid-template-columns: 48px 5fr 3fr;
    }
    
    .track-album {
        display: none;
    }
}

@media (max-width: 768px) {
    .playlist-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .playlist-cover {
        margin-right: 0;
        margin-bottom: 24px;
    }

    .playlist-title {
        font-size: 32px;
    }

    .playlist-creator {
        justify-content: center;
    }

    .playlist-actions {
        justify-content: center;
    }
    
    .track-list-header {
        display: none;
    }
    
    .track-item {
        grid-template-columns: 48px 1fr;
        padding: 12px 16px;
    }
    
    .track-album, .track-date-added, .track-duration {
        display: none;
    }
}

@media (max-width: 576px) {
    .playlist-cover {
        width: 180px;
        height: 180px;
    }

    .large-play-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
    
    .playlist-about-content {
        padding: 16px;
    }
    
    .playlist-description-full {
        font-size: 13px;
    }
} 